package org.example.demo02.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;



/**
 * @author 刘鑫宝
 * @version 1.0
 */
@Component
@RequestMapping("/user")
public class userController {
    @RequestMapping("/loout")
    public String login(){
        return "login";
    }
    @RequestMapping("/login")
    public void login(){
        System.out.println("login");
    }
}
